<?php
class JobeetTestFunctional extends sfTestFunctional
{
    public function getProgrammingCategory()
    {
        $criteria = new Criteria();
        $criteria->add(JobeetCategoryPeer::SLUG, 'programming');

        return JobeetCategoryPeer::doSelectOne($criteria);
    }

    // ...
}

?>